package org.example.service.impl;

import org.example.entity.Certificate;
import org.example.mapper.CertificateMapper;
import org.example.service.CertificateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @ClassName CertificateServiceImpl
 * @Description TODO
 * @Author yuezhijie
 * @Date 2025年08月17日 16:30
 * @Version 1.0
 */
@Service
public class CertificateServiceImpl implements CertificateService {
    @Autowired
    private CertificateMapper certificateMapper;

    @Override
    public List<Certificate> selectByzxsId(int id) {
        List<Certificate> certificates = certificateMapper.selectByzxsId(id);
        return certificates;
    }
}
